/* Common Styles for Legal and Info Pages */

/* Page Content Container */
.legal-content,
.faq-content,
.oss-content {
    background: white;
}

/* Article Containers */
.article {
    margin-bottom: 64px;
    padding-bottom: 32px;
    border-bottom: 1px solid #e5e7eb;
}

.article:last-child {
    border-bottom: none;
}

.article-header {
    /* Intentionally left for specific page overrides */
}

.article-title {
    font-size: 40px;
    line-height: 1.1;
    font-weight: 600;
    letter-spacing: 0em;
    font-family: -apple-system, BlinkMacSystemFont, Helvetica, Arial, sans-serif;
    margin: 0;
}

/* Section Styles */
.section {
    margin: 32px 0;
}

.section-title {
    font-size: 20px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 16px;
}

/* Text Content Styles */
.legal-content p,
.faq-content p,
.oss-content p {
    font-size: 16px;
    line-height: 1.8;
    color: #4b5563;
    margin-bottom: 16px;
}

.legal-content ul,
.faq-content ul,
.oss-content ul {
    margin: 16px 0 24px 0;
    padding-left: 0;
    list-style: none;
}

.legal-content li,
.oss-content li {
    font-size: 16px;
    line-height: 1.8;
    color: #4b5563;
    margin-bottom: 12px;
    padding-left: 28px;
    position: relative;
}

.legal-content li:before,
.oss-content li:before {
    content: "▸";
    position: absolute;
    left: 8px;
    font-weight: bold;
}

.legal-content strong,
.faq-content strong,
.oss-content strong {
    color: #1f2937;
    font-weight: 600;
}

/* Subsection List */
.subsection-list {
    background: #f9fafb;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}

/* Contact Card Styles */
.contact-card {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 32px;
    margin: 32px 0;
}

.contact-card h4 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #1f2937;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-info span {
    font-size: 16px;
    line-height: 1.6;
    color: #4b5563;
}

.contact-info a {
    color: #667eea;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Badge Container */
.badge-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
    justify-content: center;
}

/* App View Overrides */
body.app-view .legal-content,
body.app-view .faq-content,
body.app-view .oss-content {
    padding: 40px 0;
}

body.app-view .article-header {
    margin-left: -16px;
    margin-right: -16px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .article-title {
        font-size: 32px;
    }
    
    .section-title {
        font-size: 18px;
    }
}